package com.cssl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cssl.pojo.Forum;
import com.cssl.service.ForumService;
import com.cssl.mapper.ForumMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author 丢咔咩~
* @description 针对表【forum】的数据库操作Service实现
* @createDate 2023-08-29 15:07:13
*/
@Service
public class ForumServiceImpl extends ServiceImpl<ForumMapper, Forum>
    implements ForumService{

    @Resource
    private ForumMapper mapper;
    @Override
    public Boolean addreadnum(int forumid) {
        if (mapper.addreadnum(forumid) > 0){
            return true;
        }
        return false;
    }
}




